import Vue from 'vue'
import Vuex from 'vuex'
import Element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import router from './router'
import store from './store'
import App from './App'
import axios from 'axios'
import './assets/icon/iconfont/iconfont.css'
import Chat from 'jwchat'

Vue.config.productionTip = false
Vue.prototype.$axios = axios
Vue.use(Element)
Vue.use(Chat)
Vue.use(Vuex)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  components: { App },
  template: '<App/>',
  router,
  store
})
